start explorer z:

if exist "%~dp0AutoHotKey"  ( set ahk_home=%~dp0AutoHotKey)
 
 if exist "%~dp0ATIBROW\AutoHotKey"   set ahk_home=%~dp0ATIBROW\AutoHotKey

 set atibrow_home=%~dp0
if exist %~dp0AtiBrow  set atibrow_home=%~dp0AtiBrow
 

 
 set java_home=%~dp0jdk1.7.0_0132bit
if exist d:\jdk1.7.0_0132bit ( set java_home=d:\jdk1.7.0_0132bit)
 if not exist %java_home%   set java_home=%~dp0../jdk1.7.0_0132bit

 echo  %java_home%
 rem pause


echo %ahk_home%  %atibrow_home%  %java_home%


start "" "%ahk_home%\AutoHotKey.exe"  "%atibrow_home%\actPlayWin.kmplayer.ahk"
rem %~dp0AutoHotKey\AutoHotKey.exe  %~dp0actPlayWin.ahk
 
 
set javaexec=%java_home%\bin\java.exe
  
rem a  start explorer z:
"%javaexec%"  -classpath ".;.\classes;%~dp0bin;%atibrow_home%\bin" -Djava.ext.dirs="%~dp0lib;%atibrow_home%\lib"   -Djava.library.path="%~dp0dll;%atibrow_home%\dll"  chrriis.dj.nativeswing.swtimpl.demo.examples.webbrowser.Ati4vod cfg.kmplyer.properties

